﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using FairyGUI;
public class ChangePic : MonoBehaviour {

    private GComponent CardFront;
    private GLoader CardPic;

    private GRichTextField BNum;
    private GRichTextField CostNum;
    private GRichTextField HPow;

    // Use this for initialization
    void Start () {
        CardFront = GetComponent<UIPanel>().ui;
        CardPic = CardFront.GetChild("CardPic").asLoader;
        BNum = CardFront.GetChild("CardNum").asRichTextField;
        CostNum = CardFront.GetChild("CostNum").asRichTextField;
        HPow = CardFront.GetChild("HPow").asRichTextField;
        CardPic.url = "YK-6";
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
